package Ejercicios;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



/**
 *
 * @author djdracku
 */
public class EjemploInt {
public static void main(String args[]){

    String a="555";



    Integer i=new Integer(a);
    int s=i.intValue();
    System.out.println("int"+s);

    Double da=new Double(s);
    double re=da.doubleValue();
    System.out.println("double"+re);

   
    byte b=da.byteValue();
    System.out.println("byte"+b);

    Float f=new Float(b);
    float fa=f.floatValue();
    System.out.println("float"+fa);

    Integer in=new Integer(a);
    int sa=in.intValue();
    System.out.println("int"+in);


    short te=in.shortValue();
    System.out.println("short"+te);



}
}
